package com.yjd.comm.fs.model;

import com.yjd.comm.base.model.Model;

/**
 * 文件系统配置信息
 * 
 * @author ready
 * 
 */
public class FsConfigModel extends Model {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 编号
	 */
	private Long idFsConfig;
	/**
	 * 名称
	 */
	private String name;
	/**
	 * ftp跟路径，如:/usr/ftpus/,web的根路径，如http://static.yijiedai.com/
	 */
	private String rootPath;
	/**
	 * 类型
	 */
	private String type;

	/**
	 * FTP或者web的属性列表,存储为json格式，具体参数可以查看FsFtpModel和FsWebModel
	 */
	private String attrsJson;

	private FsFtpModel fsFtpModel;

	private FsWebModel fsWebModel;

	public Long getIdFsConfig() {
		return idFsConfig;
	}

	public void setIdFsConfig(Long idFsConfig) {
		this.idFsConfig = idFsConfig;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRootPath() {
		return rootPath;
	}

	public void setRootPath(String rootPath) {
		this.rootPath = rootPath;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public FsFtpModel getFsFtpModel() {
		return fsFtpModel;
	}

	public FsWebModel getFsWebModel() {
		return fsWebModel;
	}

	public void setFsFtpModel(FsFtpModel fsFtpModel) {
		this.fsFtpModel = fsFtpModel;
	}

	public void setFsWebModel(FsWebModel fsWebModel) {
		this.fsWebModel = fsWebModel;
	}

	public String getAttrsJson() {
		return attrsJson;
	}

	public void setAttrsJson(String attrsJson) {
		this.attrsJson = attrsJson;
	}
	
}
